

package net.thumbtack.onepm.tests.netJiraTrac;

import org.junit.Test;
import org.openqa.selenium.*;
public class loginAsAdminJiraTrac extends TestBaseJiraTrac {

    @Test
    public void LogAJira() throws Exception {

        driver.get(baseurlJira);
        driver.findElement(By.linkText("Log In")).click();
        fillFormAdmJiraRedm(new AdminAll(AdminLogin, PasswordAd ,PasswordAdmTrac ));
        driver.findElement(By.id("login-form-submit")).click();

    }
    @Test
    public void LogARedmine() throws Exception {

        driver.get(baseurlRedmine);
       // fillFormAdmJiraRedm(new AdminAll(AdminLogin, PasswordAd, PasswordAdmTrac));
        driver.findElement(By.name("submit")).click();
    }
    @Test
    public void LogATrac() throws Exception{

        driver.get("http://"+AdminLogin+":"+PasswordAdmTrac+"@"+"jira.thumbtack.lo:8002/Debian.World.Ru/login");


    }
}
